import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import {resolve} from "path"

// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],
  // ↓解析配置
  resolve: {
    // ↓路径别名
    alias: {
      // eslint-disable-next-line no-undef
      "@": resolve(__dirname, "./src")
    }
  }
})
